package com.lewis.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.lewis.dao.PersonDAO;
import com.lewis.jpa.entity.Person;
@Component
public class PersonDAOImpl extends AbstractJPADAO<Person>implements PersonDAO{

	@Override
	public void savePerson(Person person) {
		save(person);
	}

	@Override
	public void savePersons(List<Person> persons) {
		saveALL(persons);
	}

}
